package io.babystar.modules.business.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 退费表
 */
@Data
@TableName("cw_refund")
public class CWRefundEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Integer id;
	/**
	 *财务分类id
	 */
	private Integer categoryId;
	/*
	 * 分类名称
	 * */
	@TableField(exist = false)
	private String categoryName;
	/**
	 * 订单id
	 */
	private Integer orderId;
	/**
	 * 学生id
	 */
	private Integer studentId;
	/*
	 * 学员姓名
	 * */
	@TableField(exist = false)
	private String studentName;
	/**
	 * 退费状态（0退费审核中，1已退费，2已撤销，3已驳回）
	 */
	private Integer refundStatus;
	/*
	 * 已付金额
	 * */
	@TableField(exist = false)
	private BigDecimal amountPaid;
	/**
	 * 应扣金额
	 */
	private BigDecimal deductibleAmount;
	/**
	 * 应退金额
	 */
	private BigDecimal refundableAmount;
	/**
	 * 备注
	 */
	private String remarks;
	/**
	 * 0正常1删除
	 */
	private Integer delFlag;
	/**
	 * 
	 */
	private String creator;
	/**
	 * 
	 */
	private Date createAt;
	/**
	 * 
	 */
	private String updator;
	/**
	 *
	 */
	private Date updateAt;



}
